import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2024-09-13
 * Time: 21:38
 */
public class managers extends people{

    public managers(String name) {
        super(name);
        this.ioPerations=new IOPeration[]{
                new Exit(),
                new Find(),
                new Add(),
                new Del(),
                new Show()
        };
    }


    @Override
    public int menu() {
        System.out.println("******管理者菜单******");
        System.out.println("******1.查找图书*****");
        System.out.println("******2.新增图书*****");
        System.out.println("******3.删除图书*****");
        System.out.println("******4.显示图书*****");
        System.out.println("******0.退出系统*****");
        Scanner scanner=new Scanner(System.in);
        System.out.println("请选择操作序号：");
        int a=scanner.nextInt();
        return a;
    }



}
